package com.qingfeng.medical.biz.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qingfeng.medical.base.domain.entity.BaseEntity;
import com.qingfeng.medical.biz.message.domain.enums.IsSeeEnum;
import com.qingfeng.medical.biz.message.domain.enums.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 消息通知表
 *
 * @author 清风学Java
 * @date 2023-05-03 22:53:02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "消息通知表")
@TableName("news_notify")
public class NewsNotify extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "消息标题")
    private String newsTitle;

    @ApiModelProperty(value = "用户类型")
    private UserTypeEnum userType;

    @ApiModelProperty(value = "消息内容  如：XXX同学，你的某某活动即将截止，请及时评价加分，避免活动失效！！！")
    private String newsContent;

    @ApiModelProperty(value = "是否已查看 （未查看   已查看）  查看了就不再做显示（枚举处理）")
    private IsSeeEnum isSee;
}
